package com.ruicar.afs.cloud.channel.online.entity;


import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * @author mingzhi.li
 * @date 2020年5月22日10:18:20
 */
@Data
@TableName("channel_receivables_account_temp")
@ApiModel(value = "收款账号临时表")
public class ChannelReceivablesAccountTemp extends BaseEntity<ChannelReceivablesAccountTemp> {

    /**
     * 合作商ID
     */
    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    private Long channelId;
    /**
     * 账号属性;新车、二手车
     */
    private String accountAttribute;
    /**
     * 账户类型;公司一般账户、基本结算账户
     */
    private String accountType;
    /**
     * 收款类型;车款、佣金
     */
    private String collectionType;
    /**
     * 银行账户名称
     */
    private String receivingName;
    /**
     * 收款方账号
     */
    private String receivingAccount;
    /**
     * 银行名称
     */
    private String receivingBank;
    /**
     * 开户行名称
     */
    private String receivingSubBranch;
    /**
     * 收款方电子联行号
     */
    private String electronicBankNo;
    /**
     * 收款方电话
     */
    private String receivingMobilePhone;
    /**
     * 收款方电子邮件
     */
    private String receivingMailAddress;
    /**
     * 开户行省份
     */
    private String openingBankProvince;
    /**
     * 开户行城市
     */
    private String openingBankCity;
    /**
     * 是否默认账号
     */
    private String defaultAccount;
    /**
     * 收款方备注
     */
    private String receivingRemarks;
    /**
     * 状态
     */
    private String status;
}
